package org.test.springAOP.Example;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import org.springframework.aop.ThrowsAdvice;
import org.springframework.stereotype.Repository;


@Repository("TargetClassExample")
public class TargetClass {

	public String save(String param1,String param2,String param4){
		System.out.println("这是targenClass save方法 ");
		System.out.println(param1);
		System.out.println(param2);
		System.out.println(new Date());
		
//		throws (new Exception("这是一个错误"));
		List<String> strings = new ArrayList<String>(2);
		strings.get(8);
		return param1+=param2;
	}
}
